<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>demo</title>
    <style>
        #d1{
            width: 100px;
            height: 100px;
            float: left;
            background-color: pink;
        }
        #d2{
            width: 100px;
            height: 100px;
            position: relative;
            background-color: deeppink;
        }
        #d3{
            width: 100px;
            height: 100px;
            background-color: yellow;
            color: pink;
        }
    </style>
</head>
<body>
    <div id="d1">div1</div>
    <div id="d2">div2</div>
    <div id="d3">div3</div>
</body>
</html>
